package reesoft.idgenerator;

import reesoft.common.code.ErrorCode;

/**
 * 序号生成错误码
 *
 * Created by reesoft on 2017-08-28
 */
public class IdGeneratorErrorCode extends ErrorCode
{
    public static final ErrorCode ID_NOT_REGISTERED = new ErrorCode(701, "序号未注册", "id not registered");
    public static final ErrorCode ONLY_PARTIAL_ID_ASSIGNED = new ErrorCode(702, "批量申请序号，仅分配了一部分", "only partial id assigned");
    public static final ErrorCode NO_RESOURCE_TO_ASSIGN = new ErrorCode(703, "没有可分配的资源", "no resource to assign");
}
